package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 *
 * @author lyl
 * @created 2025/9/30 15:56
 * @description
 *
 */
@SuppressWarnings("all")
public interface RoleService {
    PageResult<Role> page(String name, String label, Integer page, Integer pageSize);

    void addRole(Role role);

    Role getRoleById(Integer id);

    void updateRole(Role role);

    void deleteRole(Integer id);

    List<Role> getAll();
}
